package com.woniuxy.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName Role
 * @Description 角色模型
 * @Author 李磊
 * @Version 1.0
 **/
@TableName("t_role")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;
    /*角色ID*/
    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;
    /*角色名称*/
    private String roleName;
    /*角色状态*/
    private String roleState;
    /*创建人*/
    private String createbyName;

    private Date createTime;

    private String changebyName;

    private Date changebyTime;


    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleState() {
        return roleState;
    }

    public void setRoleState(String roleState) {
        this.roleState = roleState;
    }

    public String getCreatebyName() {
        return createbyName;
    }

    public void setCreatebyName(String createbyName) {
        this.createbyName = createbyName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getChangebyName() {
        return changebyName;
    }

    public void setChangebyName(String changebyName) {
        this.changebyName = changebyName;
    }

    public Date getChangebyTime() {
        return changebyTime;
    }

    public void setChangebyTime(Date changebyTime) {
        this.changebyTime = changebyTime;
    }

    @Override
    public String toString() {
        return "Role{" +
        "roleId=" + roleId +
        ", roleName=" + roleName +
        ", roleState=" + roleState +
        ", createbyName=" + createbyName +
        ", createTime=" + createTime +
        ", changebyName=" + changebyName +
        ", changebyTime=" + changebyTime +
        "}";
    }
}
